package com.example.layui_project.comm.dao;

import com.example.layui_project.dto.TableParams;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

public interface BaseDao<T> extends Mapper<T>, MySqlMapper<T> {
    public Integer getTableCount(TableParams tableParams);

    public List<T> getTableRows(TableParams tableParams);
}
